<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set  value="${pageContext.request.contextPath}" scope="page" var="ctx"></c:set>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>    
    <title>欢迎登录酒店管理系统</title>

    <link href='${ctx}/css/bootstrap.min.css' media='all' rel='stylesheet' type='text/css' />
    <link rel="stylesheet" href="${ctx}/css/signin.css" type="text/css"></link>
</head> 
  <body>
     <img  src="${ctx}/img/login_bg_0.jpg" style="width: 100%; left: 0px; top: -267px;">
	<div class="signin">
	<div class="signin-head"><img src="${ctx}/img/head_120.png" alt="" class="img-circle"></div>
	<form class="form-signin" role="form" action="${ctx}/user/login" method="post">
		<input type="text" class="form-control" name="username" placeholder="用户名" required autofocus />
		<input type="password" class="form-control" name="password" placeholder="密码" required />
		<button class="btn btn-lg btn-warning btn-block" type="submit" value="登录">登录</button><%-- <a href="${ctx}/jsp/Main.jsp"></a> --%>
		
		<div class="row">
				<div class="col-xs-6">
					<label class="checkbox"> <input type="checkbox"
						value="remember-me"> 记住密码 </label>
				</div>
		</div>		
	</form>
</div>

<script>
	if(this != top){
		top.location.href= this.location.href;
	}
</script>
</body>
</html>
